/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.gwc.yy.liuxue.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.gwc.yy.liuxue.entity.Requirement;
import com.gwc.yy.liuxue.dao.RequirementDao;

/**
 * 申请材料清单Service
 * @author 黎俊涛
 * @version 2017-07-05
 */
@Service
@Transactional(readOnly = true)
public class RequirementService extends CrudService<RequirementDao, Requirement> {

	public Requirement get(String id) {
		return super.get(id);
	}
	
	public List<Requirement> findList(Requirement requirement) {
		return super.findList(requirement);
	}
	
	public Page<Requirement> findPage(Page<Requirement> page, Requirement requirement) {
		return super.findPage(page, requirement);
	}
	
	@Transactional(readOnly = false)
	public void save(Requirement requirement) {
		super.save(requirement);
	}
	
	@Transactional(readOnly = false)
	public void delete(Requirement requirement) {
		super.delete(requirement);
	}
	
}